package com.lxg.dao.impl;

import com.lxg.dao.ResourceDao;
import org.springframework.stereotype.Repository;

/**
 * @author 陆小根
 * date: 2022/04/26
 * Description:
 */
@Repository
public class ResourceDaoImpl implements ResourceDao {
  @Override
  public boolean readResource(String url, String password) {
    // 模拟校验
    return password.equals("root");
  }
}
